package leetcode.editor.cn.q1xx

class Q136 {
    fun singleNumber(nums: IntArray): Int {
        var result: Int = 0
        for (n in nums) {
            result = result xor n
        }
        return result
    }
}